import http from "@/utils/fetch";

// 品类管理列表
export function getCategoryList(params) {
  return http.post("/Supplier/CategoryManagement/categoryUserList", params);
}
// 重新提交
export function updateStatus(params) {
  return http.post("/Supplier/CategoryManagement/editCategoryUserIscheck",params);
}
// 删除
export function delCategory(id) {
  return http.post("/Supplier/CategoryManagement/delCategoryUser", {id}, true);
}
// 获取该商户的品类信息
export function getCategoryInfo() {
  return http.get("/Supplier/CategoryManagement/categoryInfoByMemberid");
}
// 申请品类
export function addCategory(params) {
  return http.post("/Supplier/CategoryManagement/addCategoryUser", params, true);
}
